<?php

/* @var \Illuminate\Routing\Router $router */

$router->match(['get', 'post'], 'message/config', 'ConfigController@index');

$router->match(['get', 'post'], 'message/category', 'MessageCategoryController@index');
$router->match(['get', 'post'], 'message/category/add', 'MessageCategoryController@add');
$router->match(['get', 'post'], 'message/category/edit', 'MessageCategoryController@edit');
$router->match(['post'], 'message/category/delete', 'MessageCategoryController@delete');
$router->match(['get'], 'message/category/show', 'MessageCategoryController@show');
$router->match(['post'], 'message/category/sort', 'MessageCategoryController@sort');

$router->match(['get', 'post'], 'message', 'MessageController@index');
$router->match(['get', 'post'], 'message/add', 'MessageController@add');
$router->match(['get', 'post'], 'message/edit', 'MessageController@edit');
$router->match(['post'], 'message/delete', 'MessageController@delete');
$router->match(['get'], 'message/show', 'MessageController@show');
$router->match(['post'], 'message/sort', 'MessageController@sort');
